package main

import (
	"net/url"
	"onedriver-storage/downloader"
)

const (
	raw = `https://m.shunleige.com/v2ba/m3u8.php?url=https://bo.ixx-youku.com/20180325/mjtlY7ou/index.m3u8`
)

// https://m.shunleige.com/v2ba/m3u8.php?url=https://bo.ixx-youku.com/20180325/mjtlY7ou/index.m3u8
func main() {
	u, _ := url.Parse(raw)
	x := new(downloader.M3U8Parser)
	realUrl , _ := url.Parse(u.Query().Get("url"))
	x.Init(realUrl)
}
